package day02;

import java.util.Scanner;

public class MainTest11 {
    public static void main(String[] args) {
        System.out.println("请输入星期几：");
        Scanner input = new Scanner(System.in);
        int day = input.nextInt();
        switch (day){
            case 1:
            case 7:
                System.out.println("不上");
                break;
            case 3:
            case 4:;
            case 5:
            case 6:
            case 2:
                System.out.println("上课");
                break;
            default:
                System.out.println("你输入有误");
                break;

        }

        }

}
